//
//  LCPGetRongCloudToken.h
//  AFNetworkingTest
//
//  Created by lanou3g on 15/11/28.
//  Copyright © 2015年  All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CocoaSecurity.h"
typedef void (^MyBlock)(id);
typedef void (^MyBlock2)(NSInteger code);
@interface LCPGetRongCloudToken : NSObject
@property(nonatomic, strong) NSString * app_key;
@property(nonatomic, strong) NSString * appSecret;

/**
 *  获取融云Token接口
 */
- (void)getTokenWithUserId:(NSString *)userId Name:(NSString *)name PortraitUri:(NSString *)portraitUri CallBack:(MyBlock)callBack;

/**
 *  同步群组信息
 */
- (void)syncGroups:(NSString *)userId callBack:(MyBlock2)callback Group:(NSDictionary *)group , ...;

@end
